home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / program / skeleton.zip / MakeFile < prev    next >
Makefile  |  1996-06-02  |  1KB  |  50 lines

  1. PROJECT   = Skeleton
  2. OBJ_CORE  = WinMain.obj WndProc.obj Msg.obj Misc.obj About.obj
  3. OBJ_MORE  = StatBar.obj ToolBar.obj CmdFile.obj
  4. RESOURCES = Icon.ico
  5.  
  6. ALL: $(PROJECT).exe $(PROJECT).hlp
  7.  
  8. # Definition of assembler and linker options ****************************
  9. !IFDEF debug
  10. AssemblerOptions = /c /coff /Zi
  11. LinkerOptions = /DEBUGTYPE:COFF /DEBUG:MAPPED,FULL
  12. !ELSE
  13. AssemblerOptions = /c /coff
  14. LinkerOptions = 
  15. !ENDIF
  16.  
  17. # Inference rule for updating object files ******************************
  18. .asm.obj:
  19.     C:\MASM611\BIN\ML $(AssemblerOptions) $<
  20.  
  21. # Build rule for executable *********************************************
  22. $(PROJECT).exe:    $(OBJ_CORE) $(OBJ_MORE) Resource.res
  23.     C:\MSDEV\BIN\LINK $(LinkerOptions) @<<LinkFile
  24. /MACHINE:i386
  25. /SUBSYSTEM:WINDOWS,4.0
  26. /ENTRY:Start
  27. /OUT:$(PROJECT).exe
  28. $(OBJ_CORE)
  29. $(OBJ_MORE)
  30. Resource.res
  31. C:\MSTOOLS\LIB\USER32.LIB
  32. C:\MSTOOLS\LIB\KERNEL32.LIB
  33. C:\MSTOOLS\LIB\GDI32.LIB
  34. C:\MSTOOLS\LIB\COMDLG32.LIB
  35. C:\MSTOOLS\LIB\COMCTL32.LIB
  36. <<NOKEEP
  37.  
  38. # Build rule for resource file ******************************************
  39. Resource.res:    Resource.rc $(RESOURCES)
  40.     C:\MSTOOLS\BIN\RC Resource.rc
  41.  
  42. # Build rule for help file **********************************************
  43. $(PROJECT).hlp:    HelpFile.hpj HelpFile.rtf $(PROJECT).cnt
  44.     C:\MSTOOLS\BIN\HCW HelpFile.hpj
  45.  
  46. # Delete intermediate files *********************************************
  47. Clean:
  48.     Erase *.obj
  49.     Erase *.res
  50.